added modified moments for logarithmic weight function