Add multiply method

1.add multiply
2.add transpose
3.reformat code