Optimizing rms

Made reduce work by converting float32Array to Array. The optimization stuff I'm getting here is not looking promising. That said, I'm on Ubuntu in Firefox, so maybe that has something to do with it...