bug fix in finding the faults
bug fix in mass matrix creation