softmax function added

- added log_likelihood function
- added derivatives to log_likelihood
- added unit-tests for the same