added linear rectifiers, added initialization function to simplify layer specification