Reformated equation.
Revised medium model.

This is for #21.