Use Pow instead
Adding GetMidPoint