Fundamentals of Sports Analytics