Corrected a bug in solid angles computation