Residual Line Update 1

**Residual Line not quite complete