Vector spaces and matrices