do period search with multiprocessing, replace weighted variance calculation for loops with numpy.average, value exceptions for numc