Update model to use frequency along with code to run on beowulf cluster