Fixes some sfl functions
Merge pull request #60 from lukecampbell/dp-work

Fixes some sfl functions