Gerber, Samuel, and Kristin Potter. 2012. “Data Analysis With the Morse-Smale Complex: The Msr Package for R”. Journal of Statistical Software 50 (2):1-22. https://doi.org/10.18637/jss.v050.i02.