(Mostly) working tilt calculations