marked getSunPosition as deprecated