Debugging in simulateSpAndGeneTrees.cpp, and changed a couple of long double into scalar_type: this way changing scalar_type into double works.