Added change dictionary and fixed feature num bug

Changed input args to <main path> <log name> <number of features to
detect> <dictionary size>