Lines (ALMOST) Complete

Recode for math responsiveness.