Singleton in sagecalpredict
Add a singleton to store metadata used in beam calculation, in multi-direction predict, each SagecalPredict instance will use the same metadata, thereby reducing overhead. Also fixes some compiler warnings. Also sets the min number of threads to 4 for each direction.
Edited by Sarod Yatawatta