Add more matrix functions and move some files

We need the cofactor function for further algorithms
Als, we moved the curve files given that we will need
more curve related operations
Update the makefile to reflect the change
Add an algo for offsetting cubic curves

Yes, it is impossible to do so with a single curve
but this is an approximation algo
Add the cramer method to solve equations