Optimized residual and axpy specializations for ublas