Zaslat SMS: Tensor decomposition for bosonic and fermionic scattering amplitudes