I`d like calculate the distance of two geo points. the points are given in longitude and latitude.
the coordinates are:
point 1: 36.578581, -118.291994
I think you are interchanging latitude and longitude values. Try correcting those or change sequence of parameters.