Updated DES.r with my changes implemented. Currently is completely untested.