finally got sinpack to work with Petsc, hacked it though. Now need to generate a interpolated dielectric and eigensolve it again. a