Add atomic interfaces based on C11's stdatomic.h
Flesh out basic vector functions.