kernel and image of a matrix calculator