Added outlier removal based on height, not tested (probably doesn't run)