Calculated measure functions for capping values and finding minimum and maximum

'CAPSENSE', 'CAPVALUE', 'MIN', and 'MAX' have been added as new calculated measure functions to avoid external data from having extreme variations.

2199156