added support for complex numbers in h5dict.jl and coeffgen.jl