Added loop blocking and changed to intrinsic operations