add more information to output file
remove caching of c1 and c2 values

this caused the profile to be set to zero if calculate_profile_partial was called twice in a row.
add dummy example for issue #634