Added captureLimit, fixed bug in hybrid implementation, made visualize work with 3-state system.