Resize abstraction for matrices and vectors

Merged Praetorius, Simon requested to merge feature/resize into master

Merge request reports