Fixed syntax errors in the new functions that take moranProcess