Fix memory bug. Instead of malloc just use varibles as usual
Merge branch 'master' of https://github.com/myroman/alpha