A Matrix Product Accelerator for Field Programmable Systems on Chip