Updates in the math and vectorization utilities