bugfix, scaling of matrix, not scaling of value