generic/LogSoftMax speedups
Merge pull request #113 from ajtulloch/log-soft-max

generic/LogSoftMax speedups