Added function to compute angles... on ma way.