Cleanup
Fixed inv...
Added rectlin