changed formula for angular speed