add mix macro (linear, bilinear, trilinear interpolation), add tests, update to 0.2.2