added basic Matrix and Vector classes