How to calculate inflation rate in order to perfom VAR model?
Stock and Watson use log approximation and quarterly data. Premultiplying the log approximation by 400 could be due to data being quarterly. 

Your second method is fine too.