make inference methods compatible with 1d input
make inference methods compatible with 1d input

amueller/pystruct,amueller/pystruct,massmutual/pystruct,wattlebird/pystruct,d-mittal/pystruct,wattlebird/pystruct,pystruct/pystruct,pystruct/pystruct,d-mittal/pystruct,massmutual/pystruct