Modifications on OmegaTip because of problems with  positive-definite matrix condition