Studying the impact of interface roughness on a layered photonic crystal as a sensor | Synapse