getMiddleOfTwoReferencePoints fully implemented, got the idea on the bus