ENH: finished and tested gensys. Works!