Using a complex numbers library -- Apache math

Thanks a million raron. I should have read How to Install a Contributed Library myself, so apologies for that. Your solution was perfect and I am mathing away! best, Toby.