Who really wrote the Matrix movie?

'The Matrix' , ostensibly , was written by the Wachowski brothers but even they admit that they were strongly influenced by other sources e.g. Mamoru Oshii's cyberpunk film 'Ghost in the Shell' .