On the use of conditional maximization in chemometrics