Added facility to interpolate the environmental quantities.