Improve fast vectors
Use new capabilities in the RBM implementation
Add sizes of the matrices to the templates
Use std::array for storage in matrix