Fixed warning type qualifiers ignored on function return type.
Fixed warning "unused variable".
Fixed warning for not initialized variable.
Merge pull request #130 from TomFischer/FixLinuxWarnings

Small pull request to fix warnings appearing when compiling with gcc 4.8.
Merge pull request #133 from norihiro-w/rename-Vector

rename TemplateVector and Vectors classes in MathLib
add VectorBase
add dense vector implementation