Use pure numpy arrays instead of dimensionless Quantity objects when possible