Implemented a variant of LNN, which eliminates 2 sign ambiguities.