added generic sizing to the test rendered, now handles any size of the form 2^n+1. Really slow if n is larger than 4 though.