Code, documentation and paper for cs 740.