implement PMatrixMutableScaling
extend PMatrixMutableScaling for AVector
extend PDoubleArrayOutput for INDArray