Implemented caDTPA Algorithm