Fixed bug in armapy.pxi