Fixed bug in shape checking procedure of STdsum
Merge github.com:naokin/btas