ENH: Adding rank computing function

This function will allow users to easily get the rank of the inverses that have been made. It's printed out to the log at some point, but I figured it's more useful to have a function than making people (me) dig through logs.