Segfault during process_input. Added counter increment in raise2pwr.