Ideal observer for heading judgments