merge weight matrices and offset vectors
modify softplus function to stable