1. changed output format of motif score calculation to data.table; 2. unit tests for motif score calculation.