Add precision flag to main calculate class