Finished method for reading opacities.

The method now compares values for temperature and density from the
opacity file with actual values. It returns the value for khappa that
most closely resembles the parameters at a given time.