reducing max angle in cross connections
some minor improvements and more documentation added