I updated and cleaned up the code on GitHub. I switched from the lua_gpo library to the rpio one. It required a bit of modification to get working well but now it seems to be giving me faster reads then the old library. Also it should be compatible with the RPI3 which was something lacking with the old library as well, I will test this out tonight. I have my branch of the rpio code on my GitHub.