Also added more explicit error handeling to ensure that users know what to do when the thread count exceeds the compiled maximum
this version pins pybind11 to v3.0.0