fixed bug in winkel()