added AGPL license; improved cNormPoints for n=1, 2