fixed bug in edgematrix where rows did not increase from 0 when it should after things are added
MAJOR fixes. Success in cuberenderparaller. Fixes mainly to matrix multiplcation.