change energy1 to color_energy1
add grayscale function and make energy1 use it
protect against typos