syntax de-optimization for opensim

added some explizit values to if's and modified a list constructor