Added doc for elasticity function