Revert "Fix latitude calculation"

This reverts commit 29af570a42580da8b0d3eb3865af0fef4745bac7.