Converted Wumanber implementations to a cpp one used in Crass