Building the optimal KD-Tree from a list of points is done.
Added FindMax to fix a bug in remove point and contains method.