fixed angle calculations for if both are on same longitude
fixed spelling mistake