fixed estimation functions range <->distance, made new for said functions, and tweaked the raycasting to work with said functions. MAKIN PROGGRESSSSSS YEAH