A self organizing map coding