Created #define's for N, r, p