Calculate Hyperfocal Distance