[utils] enhance docs on angles()
[utils] angles(): handle equal subspaces
[tests] add unit test for utils.angles()
[tests] enhance utils.angles() test