IBM to invest $1B in flash memory development