added new functions to speed up GetDispCpp.h - these should be the final changes to integrate SNAP C++ in Python Snapworld