How To Determine Rank In Matrix