changed parallel magnification to numpy scalar multiplication