Automated null ellipsometer with rotating analyzer