Fixed small averaging bug in custom module