Fix inverted sign bug in unit circle