Fixed a cmake bug.
Fixed a compile time warning -> Converted degrees to radians.