Inner Product Of Two Matrices And Rank