CMH Renamed variables to match assignment expectations N and T as
arguments, renaming size to N and removed all this. references as they
weren't necessary