Moved mean and quantile functions from the engine into risklib

See