fixed indexes in C kernels and added preconditioners as an option to the input file