Added the use of program argument for the number of object to take into account in astrometry.
Fixed some errors introduced with the changes for the use of program arguments.