the fragileness of my matrix algorithms becomes apparent