added get_elt and width functions
added Error module for polymorphic handling
fix build issues
remove functions from phyloc.h