made PML create epspml function, not double*. Removed all arrays except muinv.