Geometrical and Statistical Methods of Analysis of Star Configurations. Dating Ptolemy’s Almagestкнига