Add comment for better understandability
Increase number of iterations and use inv instead of pinv