Removed configureDetector and configure from detectors/base.py and from subclasses; removed costmatrix; changed names of some variables to help with clarity and made some small fixes