Added midpoint finding method and rewritten distance and depth methods
Removed the "get" and "set" from functions as per #25