Update to magma Dec-12-2013

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>