Created reference implementation of SETTLE
Merge pull request #161 from peastman/master

Created reference implementation of SETTLE