removing commented out l2 norm
not requiring the gil by using pointers instead