#2553 Aded and tested method to retuen the modifiers

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@22217 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2576 failing test and patch for it

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@22219 b5f69653-2bf5-0310-8201-b0dafb8e1405