Imported from https://github.com/rronan/IntPhys-Baselines