A tutorial introduction to STAPLE