clean up modified gaussian multiplication