changed how maximJs is extracted from Module. Added maxiArray class as way to avoid using vector.get function