Depth calculations ahoy (broken, w/e)