add cost module
Merge branch 'master' of https://github.com/ballasn/facedet