Add s-wrap function
Merge pull request #67 from rejeep/s-wrap

Add s-wrap function