added weight multiplication for first layer, this is used with textual topic modeling, also got rid of redundant parameter