%-th leading minor of the array is not positive definite

Hello guys,

Thanks for the suggestions. I will implement these changes and update with the results.

Thanks again :slight_smile: