Cleaned up Freeze model.
Fixed issues in Animat template: lacking conversions to Double and
access to Simulation class name.