bug fixing (segfault); compiling with vtcc; changed number of simulationsteps to 1 in main (for test-profiling)