Added naive search with templates in local memory prototype.
Implemented get_local_id(0) support.
Switched back to single-zero array initialization for code shortening purposes.