Added function set_nparam for setting parameters of arbitrary neuron
Added separated compilation for GPU and only CPU versions. Fixed some bugs.