fix bug in hash_get()
use prime number for hash table size
populate mna_matrix and mna_vector

cleanup a bit