Committing more mathematical header files and some basic implementation files.