Perpendicular regression