added the supposed to be faster p(n) but it wasn't, also added profiling in 'make prof'