upper.tri operation @vjovanov