Function parameters are now initialised
Implemented validate properly
Bug fixes
Renamed return variables for clarity
Fixed global variables
ASTmemcpy will now re-allocate an array if needed
Bug fixes
Fixed a fatal bug