An alternating least square approach for the estimation of a SEM based on ordinal variables