added a class that makes calculations with vectors much  easier