Foundations of Risk Measurement