On an extended threshold logic as a unit cell of array logics