Fixed a few small bugs related to calc_max_intake being a method of the herd class.