Formula For Minimum Deviation