Remove unused slope parameter
fork() testing
Add forking to main code
Remove debugging printing