Updated and simplified 'div', 'grad' and 'mag' functionObjects by deriving from 'fieldExpression'. Corrected the handling of cached gradients in 'grad'.
to simplify writing common functionObjects and avoid unnecessary code duplication