use new getMass in all examples

- use `traits::attribute::getMass` in all single particle examples