Motion or velocity measuring