Factored out SIMD intrinsics into a float4 class and related functions.

This will make it much easier to create portable code in the future,
since the intrinsics are all in one place.