Detailed Opacity Calculations for Astrophysical Applications