Corrected perpendicular line - added length