Renamed Vector paramter length to dimension, added equal method to
Matrix.