added thread for sat4j and corrected some operations