Matrix-based complexity functions and recognizable picture languages