fixed 2 bugs as reported by Brendan Tracey
fixed 2 bugs as reported by Brendan Tracey

CVML/OpenBLAS,kortschak/OpenBLAS,Chasego/OpenBLAS,yuyichao/OpenBLAS,MjAbuz/OpenBLAS,alongwithyou/OpenBLAS,zhmz90/OpenBLAS,hpanderson/OpenBLAS,zhmz90/OpenBLAS,kortschak/OpenBLAS,grisuthedragon/OpenBLAS,CVML/OpenBLAS,buffer51/OpenBLAS,aliefweb/openblas,LeoOnHack/OpenBLAS,kortschak/OpenBLAS,kortschak/OpenBLAS,yuyichao/OpenBLAS,kortschak/OpenBLAS,alongwithyou/OpenBLAS,castoryan/OpenBLAS,castoryan/OpenBLAS,buffer51/OpenBLAS,castoryan/OpenBLAS,LeoOnHack/OpenBLAS,LeoOnHack/OpenBLAS,MjAbuz/OpenBLAS,buffer51/OpenBLAS,xianyi/OpenBLAS,MjAbuz/OpenBLAS,alongwithyou/OpenBLAS,bitfusionio/OpenBLAS,CVML/OpenBLAS,xianyi/OpenBLAS,xianyi/OpenBLAS,zhmz90/OpenBLAS,yuyichao/OpenBLAS,CVML/OpenBLAS,grisuthedragon/OpenBLAS,xianyi/OpenBLAS,hpanderson/OpenBLAS,castoryan/OpenBLAS,bitfusionio/OpenBLAS,yuyichao/OpenBLAS,kortschak/OpenBLAS,buffer51/OpenBLAS,grisuthedragon/OpenBLAS,alongwithyou/OpenBLAS,xianyi/OpenBLAS,MjAbuz/OpenBLAS,xianyi/OpenBLAS,zhmz90/OpenBLAS,otbrown/OpenBLAS,aliefweb/openblas,otbrown/OpenBLAS,yuyichao/OpenBLAS,zhmz90/OpenBLAS,yuyichao/OpenBLAS,grisuthedragon/OpenBLAS,otbrown/OpenBLAS,LeoOnHack/OpenBLAS,CVML/OpenBLAS,kortschak/OpenBLAS,otbrown/OpenBLAS,zhmz90/OpenBLAS,LeoOnHack/OpenBLAS,buffer51/OpenBLAS,Chasego/OpenBLAS,CVML/OpenBLAS,bitfusionio/OpenBLAS,grisuthedragon/OpenBLAS,LeoOnHack/OpenBLAS,alongwithyou/OpenBLAS,otbrown/OpenBLAS,grisuthedragon/OpenBLAS,LeoOnHack/OpenBLAS,otbrown/OpenBLAS,xianyi/OpenBLAS,yuyichao/OpenBLAS,buffer51/OpenBLAS,hpanderson/OpenBLAS,yuyichao/OpenBLAS,Chasego/OpenBLAS,otbrown/OpenBLAS,alongwithyou/OpenBLAS,kortschak/OpenBLAS,aliefweb/openblas,MjAbuz/OpenBLAS,LeoOnHack/OpenBLAS,CVML/OpenBLAS,Chasego/OpenBLAS,buffer51/OpenBLAS,zhmz90/OpenBLAS,bitfusionio/OpenBLAS,castoryan/OpenBLAS,zhmz90/OpenBLAS,hpanderson/OpenBLAS,hpanderson/OpenBLAS,alongwithyou/OpenBLAS,Chasego/OpenBLAS,bitfusionio/OpenBLAS,kortschak/OpenBLAS,castoryan/OpenBLAS,Chasego/OpenBLAS,castoryan/OpenBLAS,grisuthedragon/OpenBLAS,castoryan/OpenBLAS,alongwithyou/OpenBLAS,otbrown/OpenBLAS,bitfusionio/OpenBLAS,bitfusionio/OpenBLAS,grisuthedragon/OpenBLAS,CVML/OpenBLAS,zhmz90/OpenBLAS,aliefweb/openblas,buffer51/OpenBLAS,MjAbuz/OpenBLAS,MjAbuz/OpenBLAS,castoryan/OpenBLAS,Chasego/OpenBLAS,yuyichao/OpenBLAS,otbrown/OpenBLAS,aliefweb/openblas,Chasego/OpenBLAS,LeoOnHack/OpenBLAS,CVML/OpenBLAS,alongwithyou/OpenBLAS,Chasego/OpenBLAS,xianyi/OpenBLAS