Implemented parallelization
Fixed Distribution confusion