added functions to deal with the ecc
added functions to deal with the ecc

Signed-off-by: Sam Phippen <e5a09176608998a68778e11d5021c871e8fae93c@googlemail.com>

LukeusMaximus/Wubulous,LukeusMaximus/Wubulous