Embodiments are directed to a method comprising: producing an integrated circuit comprising a silicon substrate, at least one diffusion layer, at least one polysilicon layer and at least two metal layers, including at least a first metal layer and a second metal layer; producing an optically sensitive layer in electrical communication with the second metal layer, wherein the at least one polysilic