Some matrix evaluation algorithms