clean up test_quad
pixels_lost_test minor typo fix
cleanup of perspective_params: synchronous, removal of 3 bit loss, optimization is WIP