updated document with math for model