S function

Compute the S component of the SAZED ensemble