function [id_min,val_min]=neighbour(dataset,getal)
% function to calculate the element of the matrix which is closest to a
% specific value 
%
[val_min,id_min]=min(abs(dataset-getal));