Add D-, D+, and D matrices to PetriNet. Added matrix functions.