added rnor/roff computation from co, added random signature selection, bugfixes