added cube smoothing, new convenience functions in load_header