fix include bug in im2bin.cpp
fix log loss bug
fix log loss bug
Merge pull request #21 from winstywang/refactor

bug fix of im2bin and log loss