CPortable updated
Reference Implementation upgraded