Computational Modelling of Biosensors with Perforated and Selective Membranes