times/2 needs more work
introduced norm function for dimensions, eases times algorithm