getSSB function

Calculate the SSB of species