Generic Vector class works fine, will update Matrix class soon.