1. implement ccsDiag/ccsTranspose
2. test added, doc updated