adding way to print cos theta instead of theta as it's easier to see a difference.