added a function that returns the discrete state id given a continuous state. useful for initializing hybrid simulations.
added a function that returns the discrete state id given a continuous state. useful for initializing hybrid simulations.

tulip-control/tulip-control,tulip-control/tulip-control,necozay/tulip-control,pombredanne/nTLP,pombredanne/nTLP,necozay/tulip-control,necozay/tulip-control,necozay/tulip-control,tulip-control/tulip-control,necozay/tulip-control,tulip-control/tulip-control,pombredanne/nTLP