changes dot and cross products to module methods
changes magnitude and normalized to instance methods