Fixed malloc errors
Updated CPU