Add ned2ecef and ned2ecef_d functions to coord_system.

Move population of rotation matrix into a helper function. Resolves #2.