my terrain calculator and associated classes. (Keith)