Changed adarray diff function to return an empty sparse matrix instead of a number 0, added adlinalg