Energetics of non-collinear spin configurations for a Mn monolayer on Ni (001)