Fix the equation for crops grow rate.

Also removed some useless code