Fixed refraction and multidim concat
Added quick reciprocal square root function