provide own factorial function instead of cmath library lgamma - required by Android build (#636)
provide own factorial function instead of cmath library lgamma - required by Android build (#636)


deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j,deeplearning4j/libnd4j