Fix seg-faults, calling struct functions without structs
Put in runtime parameters for Dynamo problem