####################################################################### Function to get the expression, analyse it for what distribution it is, then check if it has all parameters requires, if not estimate the required parameters from given parameters, and substitute it for actual expression that can be used with R stats package