Overloaded extractPgm for use with Nios/SDRAM
Started writing this new extractPgm but I couldn't remember the algorithm for camera pixel location, and I used some pseudocode.
Syntax may also be incorrect. Please review.