period matrix of hyperelliptic curves