fixing matrix bugs
finishing transpose tests