You can remove this array allocation too. Use Vector add and scalar multiplication operations.