Adding psPolynomialMD --- multidimensional polynomial fitting (without needing to know the dimension beforehand, and allowing more dimensions than 4). Will use this in the construction of darks, where we will fit exposure time, temperature, and maybe time since power-on.