A quick algorithm to calculate the Sunrise and Sunset given a time and location in Swift