static methods in Calculation class
using static distance2d method