Multiprocessing, averaging

do period search with multiprocessing, replace weighted variance calculation for loops with numpy.average, value exceptions for numc.
In the pwkit version, I'm going to use some magic code to default the number of processes to the number of CPU cores on the system.