added supportting for multi input layers to FC layer