A device identifies array accesses of variables in a program code that includes multiple arrays, and identifies array access patterns for one of the array accesses. Layers on the membrane and the support plate are connected to a circuit for capacitively measuring pressure to generate a first pressure signal. The emulsion can be incorporated into a gypsum product such as gypsum board or gypsum wood fiber board.