Fully list comprehensized the cost function calculation