Removed instance of vec::consume
Updated to use .min, .max, .cos, .sin, .tan, and .sqrt methods instead of functions.