Removed redundancies and added cached instances

1. Removed redundant code in RunGamestateInit() and StartComputation()
2. Added instance cache for components called each frame.