refactor linear measurer tests and functionality
add classification quality measures