Fixed a bug which was caused when using material-file and not material-file1,2,etc. One subroutine was using the wrong array of indices of refraction (the array it was using was uninitialized), so ggadt printed gibberish. Problem should be fixed now.