A Photonic Accelerator for Feature Map Generation in Convolutional Neural Networks