delete matrix class
add thresholder in settings window