Added linear resampling and fixed alignment.

Lower quality but much faster GPU linear resampling added as an
alternative to CPU coverage calculations. 3D texture alignment fixed.
Potential change to move coverage calculations to a shader.