Fixed bug when scaling 1D arrays.