added mex file
redifined __thread for mex compilation
basic working. need to implement returning cells
starting to work on returning struct
not working
working no im
something or other
working assignment
this works
all working (at last)
working almost perfectly. probably should preallocate memory to center and rect things
removed debug line
preallocating all things - perfection