Fixing bug. Non-idempotent in-place elementwise computations are still an issue