A new hardware architecture for performing the gridding of DNA microarray images