Fix: compiling on MSVC

Visual Studio does not have an isfinite() function, this PR uses an alternative to make pymuvr compile on Windows.