changed type of all distances to double
added tests for Airplane
corrected calculation errors