Further shrinking of conditions. More compact code. Version without MPIR works again.
Using emplace_back instead of push_back now. Further improvements mostly for readability.
... compability changes for lecturer's old gcc