Fixed Discount Margin Calculation

Added Test Project
Statistical Module just started