added mixed norm function