Correct Rand Neyman-Pearson criterion solution.