fixed some error messages, also the way we are calculating everything. Giving much nicer residence time distributions