Most of the research work was targeting a specific development paltform, so I don't have good instructions for doing it generally. Here is the paper we based our research off of: http://www.eecg.toronto.edu/~johns/ece1371/papers/1993_lewis...
Here is my presentation poster which should explain the motivation and theory a little more clearly than the paper: https://www.ece.ucsb.edu/academics/undergrad/capstone/event-...
I graduated before we got it releasable, and haven't had much time with my job to finish up the project. I don't have more time to add to this explanation, but if you want more info or implementation help, feel free to email me: alecdibble at gmail dot com.