got the updated mass ratio
added comments to the code