added libanalysecells.c
complete refactor of libanalysecells (I am no longer using the C struct CELLPROP)
almost works, only need to pass in the right argument to updatemap (and do some checking)