Analysing teeth functionality