need take inaccuracies into account when checking value for interval-membership.
Added functions for generating normal vectors and for normalizing vectors