doing 'data = data*mult+add' you have an memory overhead of 3:
data*mult create a new array
+add create another array

I prefer 
data /= mult
data += add
Because this is done in place