MAINT: remove return_rank optional argument, add .rank multivariate_normal_frozen attribute, add tests