corrected closecats.h, modified type of foundrid & recPtr to double ptr.
- Tested createcats, opencats, closecats, findrelnum