improved documentation and updated slightly the files.hpp specification
updated inertia sort to resize output to the sorted values only
part of the previous commit, allows matrix resize in certain conditions
added support for projections, corrected bug in matrix product