added power function to ecog_tools

It takes a frequency range and the filename as input, I hope that
doesn’t mess anything up.