The internal kink mode in an anisotropic flowing plasma with application to modeling neutral beam injected sawtoothing discharges