Mat Class best_resize