*turned to function
*bugfix: complex HHG spect was casted to real