Add nearpoint focus calculation