A library that is a python/pycuda port of S Gerber's manifold regularization work : http://www.math.duke.edu/~sgerber/software/index.htm and specifically of this R package:http://cran.r-project.org/src/contrib/Archive/cems/