modify function betrag(), which is using skalarprodukt() now