WIP_solveline is now solveline, though still WIP
Added function descripts and moved debug def to headers