Improved Evaluation Function