Your problem has nothing to do with a histogram, so you should probably should start a new thread with a descriptive title.
The trigonometric functions in LabVIEW usually take radians as input, maybe you are assuming degrees? The online help has all the information you need.