new improved gnomon

not entirely tested yet
changed degreeConvert to Math.toDegrees.