calculate expected value of a function with respect to the distribution
location and scale only tested on a few examples
Parameters :  all parameters are keyword parameters : func : function (default: identity mapping)
args : tuple
lb, ub : numbers
conditional : boolean (False)


Returns :  expected value : float 
Notes
This function has not been checked for it’s behavior when the integral is not finite. The integration behavior is inherited from integrate.quad.