addded more maximum(abs()) to dematricize