updated test to reflect immutability of the vector data structure
added distributive, and addition tests; added a function for testing approximate equality