Added beginnings of power spectrum generation.