changed merging of columns in coefficient utils to use hstack