Fixed bug in matrices.py
Added derivative.
Fixed little problem in vectorspaces ipynb.
Added gitignore.
Merge branch 'master' into bspline