Reformatting for readability. In ReadInput: delete source only if non-NULL.
Reformatting for readability.
Proper initialization of class members of InputFeature.
Completely rewritten. Now multi-threaded.