TAN replaces every pixel n in 'source' by tan(n). The pixel values are assumed to be in degrees. All pixel values are mapped to the range -90 to +90 degrees.