fixes getting center by using angles and not means (duh)
adds getThreshold