function [out] = roundup(in);
%rounds up to the nearest integer
out=round(in+.4999);
