function h=hour(hourmin);
h=floor(hourmin/100);
h=h+(hourmin-h*100)/60;
