Fix bug that occurred in decompose because for Numpy arrays, the value was being passed by reference rather than by copy, and for Quantities with a non-unity scale, this modified the value of the original Quantity