BUGFIX: Prevent invalid values in initial conditions; fixes #6