Fixed a bug in points()

Second point in result was incorrect