initializing errstore variable in treecode.cpp