Bigarray support

Related: #26