minor formatting and add numpy as a dependency to numpy