Optimum Design Rules for CMOS Hall Sensors