Code documentation for formula calculation in project

Follow