add rowSums
more export
more generics
fix the bug in PWM-methods.r
add the dim method for XMatrix