Third Commit

Fixed a bug with matrix vector multiplication