Fixed weird bug in maxwell_solve_eigenmode.

Inline functions change *dynamically* based on
the local variables in the parent function.

Apparently, anonymous functions don't suffer from this.

Bug was inserted when I replaced the anonymous function A()
with a inline function equivalent... which actually wasn't equivalent.