Added Junit tests to check precomputed entropy and loss metric against
non precomputed entropy and loss metric