Revert "avg over U and V and not RGB"

This reverts commit 064ecf9e53e72e2dc5323ddede27ddbbe0a77b40.
linear interpolation is better done in linear RGB space ..
lets revert this so we can do it the right way.
added linear_srgb and srgb_linear
do avg and lerp in linear rgb space