Sn now reads the input properly. Correct quadrature arrays are slected