added step number tracking for limiter calculation
added step number tracking for limiter calculation
added step number tracking for limiter calculation
removed duplicate pnew in allocation
added back variable pnewc