Using a Focus Measure to Automate the Location of Biological Tissue Surfaces in Brightfield Microscopy