code clean up, and added function

Added function ``get_zenith_azimuth_from_dir_cos()``
Code clean up