function bin2dec(binString) {
    return parseInt(binString, 2);
}
@class
Input
@extends CircuitElement
@param {number} x - x coordinate of element.
@param {number} y - y coordinate of element.
@param {Scope=} scope - Cirucit on which element is drawn
@param {string=} dir - direction of element
@param {number=} bitWidth - bit width per node.
@param {Object=} layoutProperties - x,y and id
@category modules