power spectrum image output mostly working

Fixed the power spectrum so negative frequencies line up. Added image
output, but need to add log scale for frequency range and flip image top
to bottom to put zero down.