Complete unit tests for all C utility functions. Everything looks good except in the rebin unit test there is floating point noise that I don't understand. I had to write wrapper functions for all of the C functions for the unit tests, so I may switch back to putting the lacosmicx logic into cython. I am going to do some tests.