GLM Profit calculator