python: extend Net interface for outputting the overall number of parameters.
add omp parallelism to SigmaPi-Layer.