Changes to integration method
	1. Changed from time-based boundaries to state proximity boundaries
	2. Used weighing functions for deciding the transition