tutorial printing ugliness fixed;
variable type defining optimized;
made sin 0<operator<360 better