Zaslat SMS: Continuity equations for general matter: applications in numerical relativity