debugged and tested multiple_collective_instabilities implementation in nmode_b.py