added reshape2 to Y.brlweight