Correction to BearingsAndDistances library routine, and minor (10%) performance improvement by squaring sine results rather than computing twice.