Made A build faster. 

A now uses diagonalScale and setDiagonal instead of the for loop.
Also used ravel in petscKron instead of T