Computer aided prediction and control of shrinkage porosity in titanium dental castings.