Make factors maps thread-safe
Make factors maps thread-safe

Instead of accessing the global variables, read and write the maps in a thread-safe manner, then return the factor slices.

ndahlquist/go-dsp,mjibson/go-dsp